<?php echo $this->render('head.phtml');?>
<div class='container_16 div_content ui-corner-all'>
  <div class='grid_23 bread_crumbs'>
    <div class='left'>
      <a class='crumb ' href='/'>首页</a>&nbsp;>>&nbsp;
      <div class="margin-left-40px">
	<?php foreach ($this->cats as $cat){ ?>
	<a class='crumb ' href="/category/select?cat_id=<?php echo $cat['id'];?>"><?php echo $cat['name'];?></a><br/>
	<div class="margin-left-40px margin-top-10px">
	  <?php if (isset($this->tags[$cat['id']]))foreach ($this->tags[$cat['id']] as $tag){ ?>
	  <a class='tag_crumb ' href="/category/tag?cat_id=<?php echo $cat['id']?>&tag_id=<?php echo $tag['id'];?>"><?php echo $tag['tag'];?></a>
	  <?php } ?>
	</div>
	<br/>
	<?php } ?>
	
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
  <!-- tags with cateogry -->
  <?php echo $this->paginationControl($this->paginator, 'Sliding', 'courses/pagelist.phtml');?>

</div>
<?php echo $this->render('foot.phtml');?>
